<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>最新动态</title>
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/new.css">
    <link rel="stylesheet" href="lib/mCustomScrollbar/jquery.mCustomScrollbar.css">
</head>

<body>
    <div class="srcoll">
    <!-- nav -->
    <div class="container-fluid hand-nav">
        <div class="row">
            <div class="col-sm-5">
                <div class="logo">
                    <img src="images/logo.png" alt="" class="center-block ">
                </div>
            </div>
            <div class="col-sm-7">
                <div class="col-sm-12 text-right ">
                    <a href="" class="weibo">
                        <img src="images/weibo.png" alt="">
                        诺丽美微博
                    </a>
                </div>
                <div class="col-sm-12 nav-con">
                    <a href="">首页</a>
                    <a href="">关于诺丽美</a>
                    <a href="" class="nav-active">最新动态</a>
                    <a href="">产品展示</a>
                    <a href="">专业课堂</a>
                    <form action="https://www.baidu.com/s?" method="GET" class="search">
                        <div>
                            <input type="text" name="word" placeholder="做女人要更美" required>
                            <button class="glyphicon glyphicon-search"></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- banner -->
    <div class="container-fluid banner">
    </div>

    <!-- 新闻 -->
    <div class="container new">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <h3>最新动态</h3>
            </div>
            <div class="col-sm-10 col-sm-offset-1">
                <div class="col-sm-3">
                    <a href="javascript:;" class="new-nav new-nav-active">企业新闻</a>
                    <a href="javascript:;" class="new-nav">行业新闻
                    </a>
                    <a href="javascript:;" class="new-nav">新品上市</a>
                    <a href="javascript:;" class="new-nav">促销活动</a>
                </div>
                <div class="col-sm-9 new-list list-active">
                    <div class="row">
                        <div class="date">
                            2014<br>
                            01.16
                        </div>
                        <div class="title">
                            创新赢领一2014年 卡资兰全国代理商营销峰会阅满成功
                        </div>
                    </div>
                    <div class="row">
                        <div class="media">
                            <div class="media-left">
                                <a href="#">
                                    <img class="media-object img-thumbnail" src="images/new-list (1).png" alt="...">
                                </a>
                            </div>
                            <div class="media-body">
                                <p>1月14日,卡姿兰安团在广州输尔顿道店召开了以'创新.引领”为主题的2014年卡要兰全国代理商营销峰会暨窖事新品发布会.出次会议吸引了卡婆兰全国优秀代理商及行业媒体悉数到场。
                                </p>
                                <a href="" class="pull-right">■READ MORE
                                </a>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="date">
                            2014<br>
                            01.16
                        </div>
                        <div class="title">
                            创新赢领一2014年 卡资兰全国代理商营销峰会阅满成功
                        </div>
                    </div>
                    <div class="row">
                        <div class="media">
                            <div class="media-left">
                                <a href="#">
                                    <img class="media-object img-thumbnail" src="images/new-list (1).png" alt="...">
                                </a>
                            </div>
                            <div class="media-body">
                                <p>1月14日,卡姿兰安团在广州输尔顿道店召开了以'创新.引领”为主题的2014年卡要兰全国代理商营销峰会暨窖事新品发布会.出次会议吸引了卡婆兰全国优秀代理商及行业媒体悉数到场。
                                </p>
                                <a href="" class="pull-right">■READ MORE
                                </a>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="date">
                            2014<br>
                            01.16
                        </div>
                        <div class="title">
                            创新赢领一2014年 卡资兰全国代理商营销峰会阅满成功
                        </div>
                    </div>
                    <div class="row">
                        <div class="media">
                            <div class="media-left">
                                <a href="#">
                                    <img class="media-object img-thumbnail" src="images/new-list (1).png" alt="...">
                                </a>
                            </div>
                            <div class="media-body">
                                <p>1月14日,卡姿兰安团在广州输尔顿道店召开了以'创新.引领”为主题的2014年卡要兰全国代理商营销峰会暨窖事新品发布会.出次会议吸引了卡婆兰全国优秀代理商及行业媒体悉数到场。
                                </p>
                                <a href="" class="pull-right">■READ MORE
                                </a>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="col-sm-9 new-list">
                    新闻2222222222
                    还没想好 
                </div>
                <div class="col-sm-9 new-list">
                    新闻3333333333
                    还没想好
                </div>
                <div class="col-sm-9 new-list">
                    新闻4444444444
                    还没想好
                </div>
            </div>
        </div>
    </div>



    <!-- 页脚 -->
    <div class="container-fluid foot">
        <div class="row">
            <div class="col-sm-7 ">
                <img src="images/logo.png" alt="" class="img-responsive">
            </div>
            <div class="col-sm-5 foot-mess">
                <a href="">联系我们</a>
                <a href="">关于诺丽美</a>
                <a href="">最新动态</a>
                <a href="">产品展示</a>
                <a href="">专业课堂</a>
                <a href="">粤ICP备号12088417-1</a>
            </div>
        </div>
    </div>
</div>
</body>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="lib/mCustomScrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script>

    var newNav = $('.new-nav');
    var newList = $('.new-list')
    // console.log($('.new-nav'))
    // console.log($('.new-list'))
    newNav.each(function (i) {
        // console.log(newNav[i]);
        $(newNav[i]).click(function () {
            // alert(i);
            $(this).siblings().removeClass('new-nav-active');
            $(this).addClass('new-nav-active')
            $(newList[i]).siblings().removeClass('list-active');
            $(newList[i]).addClass('list-active');
            // console.log(newList[i]);
        })
    })
    var h = $(window).height();
    $('.srcoll').css('height', h);
    $(".srcoll").mCustomScrollbar({
        theme: "dark",
        scrollButtons:{
            scrollInertia:1000,
            mouseWheelPixels:200,
            
        }
    });
</script>

</html>